package com.dao;


import com.baomidou.mybatisplus.extension.api.R;
import com.bean.Role;
import com.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.data.relational.core.sql.In;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.net.InetAddress;
import java.util.List;

/**
* @author Samsara
* @description 针对表【role】的数据库操作Mapper
* @createDate 2023-01-18 03:30:53
* @Entity generator.domain.Role
*/

public interface RoleMapper {

    Integer insertBatch(List<Role> roleList);

    Integer updateBatch(List<Role> roleList);

    Integer deleteBatch(List<Role> roleList);

    List<Role> selectRoleList(@Param("list")List<Role> userList, @Param("start")Integer start, @Param("end")Integer end);

    List<Role> selectRoleListAndUserList(@Param("list")List<Role> roleList, @Param("start")Integer start, @Param("end")Integer end);

}
